package com.sdy.dcsb.biz.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sdy.common.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author Snaky
 * 封装接口出参信息
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "EsbEncapsulationOutputParam", description = "封装接口出参信息")
public class EsbEncapsulationOutputParam extends BaseModel {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键id")
    private Integer id;

    @ApiModelProperty(value = "封装接口id")
    private Integer encapsulationId;

    @ApiModelProperty(value = "接口服务id")
    private Integer serviceId;

    @ApiModelProperty(value = "出参id")
    private Integer outputParamId;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = DATETIME_FORMAT)
    private Date createDate;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = DATETIME_FORMAT)
    private Date updateDate;
}
